<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>新闻管理系统</title>
	<style type="text/css">
		table{
			font-family:微软雅黑;

		}
		h3{
			font-family:微软雅黑;
		}

	</style>
</head>
<body>
	<center>
		@include('newss.menu')

		<h3>浏览新闻</h3>

		<table border='1' width='880'>
			<tr>
				<th>新闻ID</th><th>新闻标题</th><th>新闻关键字</th><th>作者</th><th>发布时间</th><th>logo</th><th style="width:200px">新闻内容</th><th>操作</th>
			</tr>
			@foreach($res as $k=>$v)
			<tr>
				<td>{{$v->id}}</td><td>{{$v->title}}</td><td>{{$v->keywords}}</td><td>{{$v->author}}</td><td>{{$v->addtime}}</td><td><img src="{{$v->logo}}" alt="" width='100' height='100'></td><td style="width:200px">{{$v->content}}</td>
				<td>
					<a href="/newss/edit/{{$v->id}}">修改</a>
					<a href="/newss/delete/{{$v->id}}">删除</a>
					
					
				</td>
			</tr>


			@endforeach
			
			

		</table>
		
	</center>	
</body>
</html>